package com.结构型模式.装饰者模式.实例;

/**
 * @author chenhs
 * @date 2020/10/15
 */
public class PersonA implements  IPerson {
	private  String name;
	public PersonA(String name){
		this.name = name;
	}
	@Override
	public void colthos() {
		System.out.println("我叫"+this.name+",现在只穿了最里面一层衣服");
	}
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
}
